package com.rose.doorto.footbathdoor.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lqc
 * @since 2024-07-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("`order`")
public class Order implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单id
     */
    private Integer id;
    /**
     * 订单号
     */
    @TableId("orderSn")
    private String orderSn;

    /**
     * 项目名称
     */
    @TableField("projectName")
    private String projectName;

    /**
     * 项目图片
     */
    private String projectimage;

    /**
     * 服务技师名称
     */
    @TableField("teacherName")
    private String teacherName;

    /**
     * 支付金额
     */
    @TableField("payPrice")
    private BigDecimal payPrice;

    /**
     * 打赏金额
     */
    @TableField("rewardPrice")
    private BigDecimal rewardPrice;

    /**
     * 打车费
     */
    @TableField("taxiPrice")
    private BigDecimal taxiPrice;

    /**
     * 用户ID
     */
    @TableField("userId")
    private Integer userId;

    /**
     * 客户姓名
     */
    private String username;

    /**
     * 客户手机号
     */
    private String phone;

    /**
     * 预约时间
     */
    @TableField("appointmentTime")
    private String appointmentTime;

    /**
     * 地址
     */
    private String address;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 下单时间
     */
    @TableField("createTime")
    private Date createTime;

    /**
     * 总计金额
     */
    private BigDecimal aggregate;

    /**
     * 订单状态
     */
    private Integer status;

    /**
     * 支付方式
     */
    @TableField("payType")
    private Integer payType;




}
